//package com.corp.controller;
//
//import com.corp.one.spi.RemoteOneClient;
//import com.corp.platform.common.response.RespResult;
//import com.corp.two.spi.RemoteTwoClient;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.time.LocalDateTime;
//
///**
// * @Author Keanu
// * @Date 2020/7/2 0002 16:59
// * @Version
// **/
//@RestController
//public class RemoteOneController implements RemoteOneClient {
//    @Autowired
//    RemoteTwoClient remoteTwoClient;
//    @Override
//    public RespResult<String> serviceOne(@PathVariable String name) {
//        System.out.println("service one invoke :"+name);
//        LocalDateTime now = LocalDateTime.now();
//        return remoteTwoClient.serviceTwo(now);
//    }
//}
